SET HOSTHEADER=%1
makecert.exe -r -pe -n CN=%HOSTHEADER% -ss my -sr localmachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 %HOSTHEADER%.cer

pause